<nz-card>
  <nz-tabset >
    <nz-tab nzTitle="项目汇总" >
        <lb-grid [columns]="columns1" [sname] = "params.summary" [queryparas]="params.form"  ></lb-grid>
    </nz-tab>
    <nz-tab nzTitle="费用详情" >
        <lb-grid [columns]="columns2" [sname] = "params.cost" [queryparas]="params.form"[scroll]="{x: '2300px'}"  ></lb-grid>
    </nz-tab>
    <nz-tab nzTitle="基金分类"
     (nzClick)="fundClick()"
     
      (nzDeselect) ="DeselectFund()"
      >
        <lb-grid #stfund [columns]="columns3" [sname] = "params.fund" [queryparas]="params.form"  ></lb-grid>
      <div style="height:210px;width:50%;  margin: auto;">
      
      <g2-pie
      [hasLegend]="true"
      title="基金总额"
      subTitle="基金总额"
      [total]="fund.total"
      [valueFormat]="fund.format"
      [data]="fundPieData"
      height="200"

      *ngIf="fundvisible"
      ></g2-pie>
      </div>
   
    </nz-tab>
    <nz-tab nzTitle="费用分类"
    (nzClick)="costClick()"
     
      (nzDeselect) ="DeselectCost()">
        <lb-grid  #costst [columns]="columns4" [sname] = "params.CostClassification" [queryparas]="params.form" ></lb-grid>
        <div class="container">
           <cx-stack-pie *ngIf="costvisible" height="300" [data]="costPieData"></cx-stack-pie>
        </div>
       
    </nz-tab>
    <nz-tab nzTitle="疾病分类">
        <lb-grid [columns]="columns5" [sname] = "params.disease" [queryparas]="params.form" ></lb-grid> 
    </nz-tab>
  </nz-tabset>
</nz-card>
